aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatInstructionsTests]/[method:canSerializeI32Load(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
blob: 4871e7c302fb429643d0bfc33c3829e4295b9978 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
module.wasm:	file format wasm 0x1

Section Details:

Type[1]:
 - type[0] () -> nil
Function[1]:
 - func[0] sig=0 <f>
Memory[1]:
 - memory[0] pages: initial=0
Code[1]:
 - func[0] size=9 <f>
Custom:
 - name: "linking"
  - symbol table [count=1]
   - 0: F <f> func=0 [ binding=global vis=default ]
Custom:
 - name: "name"
 - func[0] <f>

Code Disassembly:

00002f func[0] <f>:
 000030: 41 00                      | i32.const 0
 000032: 28 00 80 01                | i32.load 0 128
 000036: 1a                         | drop
 000037: 0b                         | end